package com.ruoyi.lifecycle.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 销售商信息业务对象
 *
 * @author chq
 * @date 2025-06-06
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TDistributorBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String id;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String code;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fullname;

    /**
     * 0：直销；1：银行类；4：券商类；5：证券投资咨询机构；6：专业销售机构；7：期货公司；8：保险公司；9：保险代理公司及保险经纪公司
     */
    @NotBlank(message = "0：直销；1：银行类；4：券商类；5：证券投资咨询机构；6：专业销售机构；7：期货公司；8：保险公司；9：保险代理公司及保险经纪公司不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contact;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contactmobile;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String web;

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private String hotline;

    /**
     * 0:离职;1:在职
     */
    @NotBlank(message = "0:离职;1:在职不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;


}
